package com.suning.sawp.dto.esb;

import java.util.List;

import com.suning.sawp.constants.PromSysConstants;
import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * 
 * 〈一句话功能简述〉<br>
 * 活动名称与编码查询请求bean
 *
 * @author 13082136
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
@XStreamAlias("MbfBody")
public class QryCouponListReq {
    @XStreamAlias("memberId")
    private String memberId;

    @XStreamAlias("channelId")
    private String channelId = PromSysConstants.CHANNEL_ID_MOBILE;

    @XStreamAlias("cityId")
    private String cityId;

    @XStreamAlias("bonusTrigerId")
    private String bonusTrigerId = PromSysConstants.BONUS_INNER_PROMOTION;

    @XStreamAlias("productList")
    private List<ProductDetailReq> productList;

    @XStreamAlias("productDetail")
    public static class ProductDetailReq {

        @XStreamAlias("storeId")
        private String storeId;

        @XStreamAlias("productId")
        private String productId;

        @XStreamAlias("businessSign")
        private String businessSign;

        @XStreamAlias("marketingActivityType")
        private String marketingActivityType = PromSysConstants.NORMAL_COMM;

        public String getBusinessSign() {
            return businessSign;
        }

        public void setBusinessSign(String businessSign) {
            this.businessSign = businessSign;
        }

        public String getMarketingActivityType() {
            return marketingActivityType;
        }

        public void setMarketingActivityType(String marketingActivityType) {
            this.marketingActivityType = marketingActivityType;
        }

        public String getStoreId() {
            return storeId;
        }

        public void setStoreId(String storeId) {
            this.storeId = storeId;
        }

        public String getProductId() {
            return productId;
        }

        public void setProductId(String productId) {
            this.productId = productId;
        }

        @Override
        public String toString() {
            return "ProductDetailReq [storeId=" + storeId + ", productId=" + productId + ", businessSign="
                    + businessSign + ", marketingActivityType=" + marketingActivityType + "]";
        }

    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getBonusTrigerId() {
        return bonusTrigerId;
    }

    public void setBonusTrigerId(String bonusTrigerId) {
        this.bonusTrigerId = bonusTrigerId;
    }

    public List<ProductDetailReq> getProductList() {
        return productList;
    }

    public void setProductList(List<ProductDetailReq> productList) {
        this.productList = productList;
    }

    @Override
    public String toString() {
        return "QryCouponListReq [memberId=" + memberId + ", channelId=" + channelId + ", cityId=" + cityId
                + ", bonusTrigerId=" + bonusTrigerId + ", productList=" + productList + "]";
    }

}
